/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.pz.net.master;

import java.io.IOException;

/**
 *
 * @author jannek
 */
public interface MasterServerInterface {

    public void bind(int tcpPort, int udpPort) throws IOException;

    public void setListener(MasterServerListener listener);

    public void startServerLoop();

    public void stopServerLoop();

    public Client getClient(int id);

    public Server getServer(int id);
}
